package com.cjbdi.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import com.cjbdi.entity.Fypz;
import com.cjbdi.entity.UserInfo;

import java.util.List;

@Repository
public interface FypzRepository extends JpaRepository<Fypz, Long> {
	@Query(value = "select * from fypz where c_mc not like'%已撤销%'  and c_mc not like'%全国%'  order by id", nativeQuery = true)
	List<Fypz> queryAll();
}
